home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / SDL / examples / Makefile < prev    next >
Makefile  |  2002-10-27  |  727b  |  27 lines

  1. INCLUDES = -I../include/SDL -I../include
  2. CFLAGS   = -O2 -fomit-frame-pointer
  3. LFLAGS   = -noixemul
  4. LIBS     = -L../lib/ -lSDLstub
  5.  
  6. all: testbitmap testsprite testwin testpalette loopwave
  7.  
  8. clean:
  9.     -rm -f testbitmap testsprite testwin testpalette loopwave
  10.  
  11. testbitmap: testbitmap.c
  12.     gcc $(CFLAGS) $(LFLAGS) $(INCLUDES) -o testbitmap testbitmap.c $(LIBS)
  13.  
  14. loopwave: loopwave.c
  15.     gcc $(CFLAGS) $(LFLAGS) $(INCLUDES) -o loopwave loopwave.c 
  16.  
  17. testsprite: testsprite.c
  18.     gcc $(CFLAGS) $(LFLAGS) $(INCLUDES) -o testsprite testsprite.c $(LIBS)
  19.  
  20. testpalette: testpalette.c
  21.     gcc $(CFLAGS) $(LFLAGS) $(INCLUDES) -o testpalette testpalette.c $(LIBS) -lm
  22.  
  23. testwin: testwin.c
  24.     gcc $(CFLAGS) $(LFLAGS) $(INCLUDES) -o testwin testwin.c $(LIBS)
  25.  
  26.  
  27.